package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    Integer saveAddress(AddressBook addressBook);

    List<AddressBook> seleteAddress();

    AddressBook selectDefaultAddress();

    Integer updateDefaultAddress(Long id);

    Integer updateAddress(AddressBook addressBook);

    AddressBook selectAddressById(Long id);

    Integer deleteAddressById(Long id);
}
